#include "PGLDemo.h"

PGLDemo::PGLDemo(QWidget *parent, Qt::WFlags flags)
	: QMainWindow(parent, flags)
{
	ui.setupUi(this);

	// Connect transformations
	connect(ui.GLW,SIGNAL(rotationSet(float,float)),ui.PGLW,SLOT(setRotation(float,float)));
	connect(ui.PGLW,SIGNAL(rotationSet(float,float)),ui.GLW,SLOT(setRotation(float,float)));
	connect(ui.GLW,SIGNAL(zoomSet(float)),ui.PGLW,SLOT(setZoom(float)));
	connect(ui.PGLW,SIGNAL(zoomSet(float)),ui.GLW,SLOT(setZoom(float)));
}

PGLDemo::~PGLDemo()
{

}
